﻿//===========================[ 7 / 6 / 2011 LVI ]=============================
//				Copyright c Vitaly Lyaschenko <SkyChameleon@gmail.com>
// 								Header file
// Purpose: 
//=============================================================================
#pragma once

#include "common.h"
#include "mathlib.h"

enum LightType 
{
	Light_Point       = 1,
	Light_Spot        = 2,
	Light_Directional = 3,
};

class cLight
{
public:
	cLight();
	~cLight();

	LightType type;

	void LightDefault( const LightType type );

	vec4  color;
	vec4  diffuse;
	vec4  specular;
	vec4  ambient;
	vec4  position;
	vec3  attenuation;
	vec3  spotDirection;
	float spotExponent;
	float spotCosCutoff;
};